package cn.antank.sdk.constant;


public class ResultCode {
	//0) 系统内错误：如并发控制、超时、网络超时等，编码是10xx
	public static final String CODE10_UNKNOWN_EXCEPTION = "1002";//各类异常
	public static final String CODE10_HTTP_ERROR = "1003";		//HTTP请求错误
	public static final String CODE10_SOCKET_ERROR = "1004";	//socket 超时
	
	public static final String CODE10_PROHIBITED = "1050";		//被系统禁用
	//1) 入口参数类错误
	public static final String CODE11_PARAMS_ERROR = "1101";	//参数类错误：类型错误、非空约束
	public static final String CODE11_PARAMS_REQUIRED = "1102";	//参数缺失:
	public static final String CODE11_DATA_ERROR = "1120";		//数据错误
	
	public static final String CODE11_DATA_EXISTS = "1121";		//数据已存在，不能重复添加
	public static final String CODE11_DATA_NOT_EXISTS = "1122";	//数据不存在
	public static final String CODE11_DATA_STATUS_ERROR = "1123";//数据状态错误
	public static final String CODE11_DATA_NOT_ALLOWED = "1124";//数据关联性，不允许操作
	
	public static final String CODE11_DATA_CHECK_ERROR = "1125";//数据检验错误
	public static final String CODE11_DATA_NOT_UNIQUE = "1126";//数据不唯一

	public static final String CODE13_REDIRECT = "1300";	//功能被重置
	
	public static final String CODE99_UNKNOWN_ERROR = "9999";
}
